package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@ClassName Customer
 *@Author jiangjiajia
 *@JDK-Version 1.8
 *@Date 2021/7/10 3:35 pm
 *@Version 1.0
 *@Description 必须描述类的业务用途
 
 **/

/**
 * 客户表
 */
@ApiModel(value = "com-qf-entity-Customer")
@Data
@TableName(value = "customer")
public class Customer {
    /**
     * 主键
     */
    @TableId(value = "customer_id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private Long customerId;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    /**
     * 性别
     */
    @TableField(value = "sex")
    @ApiModelProperty(value = "性别")
    private String sex;

    /**
     * 年龄
     */
    @TableField(value = "age")
    @ApiModelProperty(value = "年龄")
    private Byte age;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 手机号码
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "手机号码")
    private String phone;

    /**
     * 地址
     */
    @TableField(value = "address")
    @ApiModelProperty(value = "地址")
    private String address;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "modified_time")
    @ApiModelProperty(value = "修改时间")
    private Date modifiedTime;

    /**
     * 创建人
     */
    @TableField(value = "create_account_id")
    @ApiModelProperty(value = "创建人")
    private Long createAccountId;

    /**
     * 修改人
     */
    @TableField(value = "modified_account_id")
    @ApiModelProperty(value = "修改人")
    private Long modifiedAccountId;

    /**
     * 逻辑删除标识(0、否 1、是)
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value = "逻辑删除标识(0、否 1、是)")
    private Byte deleted;

    public static final String COL_CUSTOMER_ID = "customer_id";

    public static final String COL_REAL_NAME = "real_name";

    public static final String COL_SEX = "sex";

    public static final String COL_AGE = "age";

    public static final String COL_EMAIL = "email";

    public static final String COL_PHONE = "phone";

    public static final String COL_ADDRESS = "address";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFIED_TIME = "modified_time";

    public static final String COL_CREATE_ACCOUNT_ID = "create_account_id";

    public static final String COL_MODIFIED_ACCOUNT_ID = "modified_account_id";

    public static final String COL_DELETED = "deleted";
}